package crm7test;
import com.Utils.RSAUtils;

public class RSA {
	public static void main(String[] args){
		String  publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUYknlVL6+c+HCkTR05iWfuyNWouxbx7n7PMT+KreA/A7J9ZPQitafUrI08rUFMeg/zbCA58j2TtYjg1aNu6J7geaesnD0ejruTqZR3cvCG3CxZAu123P5Tj69BMcpANmLRgWCXWZG2xpTFCogH7usVp5NnpSIGProGCDrzPCcUwIDAQAB";
		String  content ="Kzsh6PFxGUclKShFFXlxzw7Jr48NEjIMACQOXa4qlzTpCT1JiRaYjFRROtwaLYpLrOiQR1xdycDiAFipUToogbJjX8dvP3ozR9RH1bcIx202YPPKyC7gqvUDsbht/MxYo4CVXsSZK6TcYVfAz8IO/UzDh8g/HelTCcL6G7EUQWBGDds6AtqZL9VbS7uWQ0t/b1HXxwp0WQim1sUiZhFEw+G/n4mnalLqBVDSsok9jcQ9eYljxpzRZ2Zu6kMrUlyzJygj3dEe0ESS/FhUZuONl+sgnPGRv9zuXlX38s7QQFFLGJ1fcYVX0+IXunzlRs0zEwd7C36LCJgnGnM55vzTgjr3FgRbAxGouhETJXFbritbSoKp8fpZsE3taWEGIEKOgm1eO2EvRq0uBSY4DhFYl44KTh2D9DQ+J2ENJyCTBeRlbo8dMrx8rU6/bzonOT1YAG3Pgt8QXLaM90tjQaL9Ic8w7tsw9HZPAGelIpPfFfibqAR8rzGVT18OdRMWPf8+CjfKuHsHsuqpMRDSlTXH0DDFq2cRpYFAaU+aMM7hp8+P5w1Eq3MDiBd+dOzt6HpJHbwt6ps+WSIYYeLl9XD1usv8EKw04hANAQuQNbzarPma0aBOye3s/bot3WPcGRMlTih5F15a/jMkg4jUebSwQtfMl+KeQ6s+4uqOxGIMsMdYFzdS2z6rEWUEZ1qbobasbnSIvvU+sgvZtIi/79ci7ZzFSmIw1+OaaGVHl1UiK2TWDipKH/0/sCrEfv7tF0r9KRrU+jL1/eaYE/M7AaYm9qGBhYesYE/KF6j1n1L8pY0Kc6Bbumc+SCXGNLvthGpILIAoo44Y6uu9P/NRPYNjyw==";
		String  data=null;
		try {
		data = RSAUtils.decryptByPublicKey(content, publicKey);
		}catch (Exception e){
			System.out.println("error");
		}
		System.out.println(data);
		
	}

}
